package com.base.service.impl;

import com.base.mapper.voipmapper.ReplacementPayOtherMapper;
import com.base.po.replacement.ReplacementPayOther;
import com.base.po.replacement.ReplacementPayOtherExample;
import com.base.service.ReplacementPayOtherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("replacementPayOtherService")
public class ReplacementPayOtherServiceImpl implements ReplacementPayOtherService {
	
	@Autowired
	private ReplacementPayOtherMapper replacementPayOtherMapper;

	@Override
	public int countByExample(ReplacementPayOtherExample example) {
		return replacementPayOtherMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(ReplacementPayOtherExample example) {
		return replacementPayOtherMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(String id) {
		return replacementPayOtherMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ReplacementPayOther record) {
		return replacementPayOtherMapper.insert(record);
	}

	@Override
	public int insertSelective(ReplacementPayOther record) {
		return replacementPayOtherMapper.insertSelective(record);
	}

	@Override
	public List<ReplacementPayOther> selectByExample(ReplacementPayOtherExample example) {
		return replacementPayOtherMapper.selectByExample(example);
	}

	@Override
	public ReplacementPayOther selectByPrimaryKey(String id) {
		return replacementPayOtherMapper.selectByPrimaryKey(id);
	}

	@Override
	public ReplacementPayOther selectByOrderNo(String orderno) {
		return replacementPayOtherMapper.selectByOrderNo(orderno);
	}

	@Override
	public int updateByExampleSelective(ReplacementPayOther record, ReplacementPayOtherExample example) {
		return 0;
	}

	@Override
	public int updateByExample(ReplacementPayOther record, ReplacementPayOtherExample example) {
		return replacementPayOtherMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(ReplacementPayOther record) {
		return replacementPayOtherMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ReplacementPayOther record) {
		return replacementPayOtherMapper.updateByPrimaryKey(record);
	}
}
